.hero{
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.hero__img{
    border-radius: 50%;
    width: 6rem;
    height: 6rem;
    object-fit: cover;
}

.hero__subtitle{
    color: var(--clr-slate600);
    font-size: var(--size-base);
    line-height: 0.9;
    text-transform: capitalize;
}

.hero__title{
    color: var(--clr-slate400);
    font-size: var(--size-4xl);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: -0.05em;
    line-height: 0.9;
}

.type__writer{
    display: inline-block;
}

.hero__skill{
    color: var(--clr-slate600);
    font-size: var(--size-2xl);
    text-transform: capitalize;
    font-weight: 600;
    letter-spacing: -0.05em;
    line-height: 0.9;
    margin-top: -0.7rem;
    border-right: 2px solid ;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    animation: 
    typing 2s steps(24),
    cursor 0.4s step-end infinite alternate;
}

@keyframes cursor{
    50%{ border-color: transparent;}
}

@keyframes typing{
    from {width: 0;}
}


.hero__description{
    max-width: 60ch;
    font-size: var(--size-s);
    color: var(--clr-slate600);
}

.hero__btn{
    text-transform: capitalize;
    font-size: var(--size-s);
}

/* xs */
@media (min-width: 475px){
    .hero{
        gap: 1.5rem;
        margin-top: 2.5rem;
    }
    
    .hero__img{
        width: 6.5rem;
        height: 6.5rem;
    }

    .hero__subtitle{
        font-size: var(--size-lg);
    }
    
    .hero__title{
        font-size: var(--size-6xl);
    }
    
    .hero__skill{
        font-size: var(--size-4xl);
        margin-top: -0.9rem;
    }
    
    .hero__description{
        font-size: var(--size-base);
    }
    
    .hero__btn{
        font-size: var(--size-base);
    }
}

/* sm */
/* @media (min-width: 640px){} */

/* md */
/* @media (min-width: 768px){} */

/* lg */
@media (min-width: 1024px){
    .hero__img{
        width: 8rem;
        height: 8rem;
    }

    .hero__subtitle{
        font-size: var(--size-2xl);
    }
    
    .hero__title{
        font-size: var(--size-8xl);
    }
    
    .hero__skill{
        font-size: var(--size-6xl);
        margin-top: -1rem;
        border-right: 4px solid ;
    }
    
    .hero__description{
        font-size: var(--size-lg);
    }
    
    .hero__btn{
        font-size: var(--size-lg);
    }
}

/* xl */
@media (min-width: 1280px){
    .hero{
        gap: 2rem;
        margin-top: 3rem;
    }

    .hero__img{
        width: 10rem;
        height: 10rem;
    }

    .hero__subtitle{
        font-size: var(--size-4xl);
    }
    
    .hero__title{
        font-size: var(--size-9xl);
    }
    
    .hero__skill{
        font-size: var(--size-7xl);
        margin-top: -1.5rem;
        border-right: 5px solid ;
    }
    
    .hero__description{
        font-size: var(--size-xl);
    }
    
    .hero__btn{
        font-size: var(--size-xl);
    }
}

/* 2xl */
/* @media (min-width: 1536px){} */